Skip to content

Conversation

@bkdiehl
Copy link

@bkdiehl bkdiehl commented May 14, 2024

I added another matchVariant to enable max-width container queries. ie. @container (width < ${value}). Hope you think this is useful.

@RobinMalfait RobinMalfait self-assigned this Feb 5, 2025
@RobinMalfait
Copy link
Member

Hey!

Now that Tailwind CSS v4 is out, the container queries feature is baked into the framework. This also includes @max-* variants. More info: https://tailwindcss.com/docs/responsive-design#max-width-container-queries

I would recommend to try and upgrade your projects to v4 to make use of these features.

Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants